<template>
  <div class="about-section">
    <div class="section-header">
      <h3>关于我们</h3>
      <p class="description">了解更多关于SmartEat的信息</p>
    </div>
    
    <div class="about-content">
      <div class="about-card">
        <div class="logo-container">
          <img src="../assets/logo.png" alt="SmartEat Logo" class="logo" />
        </div>
        
        <div class="info-section">
          <h4>SmartEat</h4>
          <p class="version">版本 1.0.0</p>
          <p class="description">
            SmartEat是一个智能饮食管理平台，致力于为用户提供健康、便捷的饮食解决方案。
            我们通过智能算法和专业的营养知识，帮助用户实现健康饮食的目标。
          </p>
        </div>

        <div class="contact-section">
          <h4>联系我们</h4>
          <div class="contact-item">
            <i class="el-icon-message"></i>
            <span>邮箱：support@smarteat.com</span>
          </div>
          <div class="contact-item">
            <i class="el-icon-phone"></i>
            <span>电话：400-123-4567</span>
          </div>
        </div>

        <div class="copyright">
          © 2024 SmartEat. All rights reserved.
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
// 组件逻辑
</script>

<style scoped>
.about-section {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.05);
}

.section-header {
  margin-bottom: 20px;
}

.section-header h3 {
  font-size: 18px;
  color: #333;
  margin: 0 0 8px 0;
}

.description {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.about-content {
  padding: 20px 0;
}

.about-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.logo-container {
  margin-bottom: 20px;
}

.logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.info-section {
  margin-bottom: 30px;
}

.info-section h4 {
  font-size: 24px;
  color: #333;
  margin: 0 0 10px 0;
}

.version {
  color: #666;
  margin-bottom: 15px;
}

.contact-section {
  margin-bottom: 30px;
}

.contact-section h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #666;
}

.contact-item i {
  margin-right: 8px;
}

.copyright {
  color: #999;
  font-size: 12px;
  margin-top: 20px;
}
</style> 